package com.dragons.spring5.autowired;

public class Emp1 {
    private Dept1 dept1;
    public void setDept01(Dept1 dept1) {
        this.dept1 = dept1;
    }
    @Override
    public String toString() {
        return "Emp1{ dept1=" + dept1 + '}';
    }
}
